package com.ddwl.schema.bo.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author hemiaojun
 * @Date 2021/6/23 17:43
 */
@Getter
@Setter
@ApiModel("提现渠道配置修改bo")
public class WithdrawChannelConfUpdateBo {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value="id")
    private String id;

    /**
     * 类型:0微信1支付宝2银行卡
     */
    @NotNull
    @ApiModelProperty(value="类型:0微信1支付宝2银行卡")
    private Integer type;

    /**
     * 渠道名称
     */
    @NotEmpty(message = "渠道名称不能为空")
    @ApiModelProperty(value="渠道名称")
    private String name;

    /**
     * 代码：微信-WX,支付宝-ALIPAY,银行卡-BANKCARD
     */
    @ApiModelProperty(value="代码：微信-WX,支付宝-ALIPAY,银行卡-BANKCARD")
    private String code;

}
